function loginApi(data) {
    return this.$axios.post('/login',data,{
        headers: {'Accept':'*/*','Content-Type': 'application/x-www-form-urlencoded'}
    }).then(function (res) {
        console.log(res)
    }).catch(function (error) {
        console.log(error)
    });
};


//axios.post(url,data).then(resp.data)

function logoutApi() {
    return $axios({
        'url': '/employee/logout',
        'method': 'post',
    })
}
